package com.ponhu.ea2.stockcenter.provider.service.entity;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ponhu.ea2.stockcenter.dto.StockBatchChangeQueryDTO;
import com.ponhu.ea2.stockcenter.dto.WMSEventInfoDTO;
import com.ponhu.ea2.stockcenter.provider.entity.StockInventoryBatchChange;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ponhu.ea2.stockcenter.provider.entity.StockInventoryBatchRecord;
import com.ponhu.ea2.stockcenter.provider.entity.StockWarehouseChange;
import com.ponhu.ea2.stockcenter.vo.StockBatchChangeVO;

import java.util.List;

public interface StockInventoryBatchChangeService extends IService<StockInventoryBatchChange> {

    List<StockInventoryBatchRecord> saveBatchChanges(List<StockWarehouseChange> changeList,
                                                     WMSEventInfoDTO eventInfoDTO, List<StockInventoryBatchRecord> batchRecordList);

    IPage<StockBatchChangeVO> getStockBatchChangeListByQuery(StockBatchChangeQueryDTO queryDTO);

}
